<!--
	此示例下载自 https://echarts.apache.org/examples/zh/editor.html?c=bar-y-category-stack&code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMmuhgE4QDmFApqYQOQCGAHhAM70A0x6L7ACsAjQwtQqhIkA9FNgBVNtVh82GYGUo1SanHh4kwATxDUGbABaMAJsADu9WDNj0L1uw8aqr1AGaMArrgA3LAAxoxwjNhs6gBGSvTYwtQOwNouljb2-gC-xDnc6NjUNNBW4gXEFOTlRJLFPmAMAMwApFz65BTmTc4ALO2FJLHAYJgAti2D-qEwYIzCADKM8diEYKT-1PlDzACCrGzi-kYmDABuUVv0O8SGB-zHkqemzuGiFGmGHZJWjPOEADa9EAM7GAHQUuM5AB0OgH9zSH0QAAcnDOM5ADFyyOcgEg5DH0QDbajjAC9mgA2s-gAXVu6EU5GoR1ggP0EkksGgjHGr3ogC5zQAWaoAuuR-TJeDFijFI_MkbHmoQA1gxMPNsGKSNgVtQ1nUmZTzHZ1ptthrKhrqOMQJY2I91RqfMBQv5aS5aBAaTd9UNfv9GECAAwo5oogCMvtgfv9IdgnvJkgNJEZkhZbIYgHVlQCdpoB4HUA-OqAMRjFehBc5haLXSQJYxpbLRlFs7BlasnhrYBZtWQtvp0FHJEaTZ5zTGmVabXaqY6OC3YG2SH8AXTvWGfaHp9O_RGSHl0OSckEgA
	⚠ 请注意，该图表不是 Apache ECharts 官方示例，而是由用户代码生成的。请注意鉴别其内容。
-->
<!DOCTYPE html>
<html lang="en" style="height: 100%">
<head>
  <meta charset="utf-8">
</head>
<body style="height: 100%; margin: 0">
  <div id="container" style="height: 100%"></div>

  
  <script type="text/javascript" src="https://registry.npmmirror.com/echarts/5.4.3/files/dist/echarts.min.js"></script>
  <script type="text/javascript">
    var dom = document.getElementById('container');
    var myChart = echarts.init(dom, null, {
      renderer: 'canvas',
      useDirtyRect: false
    });
    var app = {};
    
    var option;

    option = {
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      // Use axis to trigger tooltip
      type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'
    }
  },
  legend: {},
  grid: {
    left: '3%',
    right: '4%',
    bottom: '3%',
    containLabel: true
  },
  xAxis: {
    type: 'value'
  },
  yAxis: {
    type: 'category',
    data: ['跌停', '炸板', '一板', '二板', '三板', '四板', '更高']
  },
  series: [
    {
      name: '机器人',
      type: 'bar',
      stack: 'total',
      label: {
        show: true
      },
      emphasis: {
        focus: 'series'
      },
      data: [0, 3, 13, 1, 1, 1, 0]
    },
    {
      name: '南方小土豆',
      type: 'bar',
      stack: 'total',
      label: {
        show: true
      },
      emphasis: {
        focus: 'series'
      },
      data: [0, 0, 3, 1, 0, 0, 1]
    }
  ]
};

    if (option && typeof option === 'object') {
      myChart.setOption(option);
    }

    window.addEventListener('resize', myChart.resize);
  </script>
</body>
</html>